package com.pilgrim.generator.util;

/**
 * description
 *
 * @author wangyibin
 * date 2020.10.09 14:16
 */
public class PropertyFormatterUtils {

    public static String firstToUpperCase(String string){
        if(string == null || string.trim().equals("")){
            return "";
        }
        if(string.length() == 1){
            return string.toUpperCase();
        }
        char[] cs=string.toCharArray();
        cs[0]-=32;
        return String.valueOf(cs);
    }


}
